Groundhogg\DB\DB D

Total Complexity 326
Dependencies 12
Dependents 14
Total lines 2,349
Lines of code 1,276
Logical lines of code 807
Comment lines 579
Methods 82
Properties 14

Methods 82

Method Rating Maintainability Complexity Lines of code
query()
D
15
66 274
parse_query_vars()
D
29
36 122
get_sql()
D
29
32 114
build_advanced_where_statement()
D
31 31 102
advanced_query()
A
45 11 42
maybe_register_filters()
A
44 8 48
update()
A
50 8 27
delete()
A
51 8 26
generate_where()
S
54 7 20
commit_batch_insert()
S
53 4 23
batch_insert()
S
54 4 22
exists()
S
56 4 19
cache_get()
S
56 4 18
maybe_convert_date_format_for_query()
S
63 4 11
get_date_key_format()
S
65 4 10
cache_get_last_changed()
S
62 3 12
cache_set()
S
61 3 12
insert()
S
55 2 20
symbolize_comparison()
S
55 2 20
mass_update()
S
58 2 16
get_column_by()
S
57 2 16
drop()
S
66 3 8
contact_merged()
S
64 3 10
update_db()
S
72 3 5
_exists()
S
76 3 3
bulk_delete()
S
60 2 13
count()
S
61 2 12
get_by()
S
60 2 12
column_exists()
S
68 2 7
drop_indexes()
S
74 2 5
get_max_index_length()
S
78 2 3
clear_cache()
S
69 2 7
create_object()
S
69 2 7
is_auto_increment()
S
69 2 7
get_allowed_comparisons()
S
61 1 15
generate_search()
S
66 2 8
found_rows()
S
69 2 7
cache_set_last_changed()
S
68 2 7
__construct()
S
62 1 11
get_column_defaults()
S
82 1 3
get_table_name()
S
82 1 3
get_db_version()
S
100 1 0
get_date_key()
S
82 1 3
get_primary_key()
S
100 1 0
sum()
S
67 1 8
is_global_multisite()
S
82 1 3
add_additional_actions()
S
91 1 2
get_date_created()
S
69 1 6
drop_column()
S
75 1 4
drop_index()
S
75 1 4
get_allowed_relationships()
S
80 1 3
create_index()
S
73 1 4
truncate()
S
76 1 4
get_db_suffix()
S
100 1 0
installed()
S
80 1 3
table_exists()
S
72 1 5
render_table_name()
S
69 1 6
create_table_sql_command()
S
82 1 3
create_table()
S
72 1 5
get_allowed_columns()
S
80 1 3
get_charset_collate()
S
77 1 4
add()
S
70 1 7
is_empty()
S
75 1 4
get_unique_column_values()
S
70 1 6
get_column()
S
79 1 3
clear_whole_cache()
S
80 1 3
get_cache_group()
S
80 1 3
get()
S
79 1 3
get_searchable_columns()
S
73 1 5
column_is_searchable()
S
79 1 3
has_column()
S
79 1 3
get_columns()
S
82 1 3
get_charset()
S
77 1 4
search()
S
68 1 7
parse_filters()
S
76 1 4
get_id_key()
S
82 1 3
flush_cache()
S
80 1 3
get_meta_table()
S
80 1 3
get_object_type()
S
100 1 0
register_table()
S
71 1 5
get_collate()
S
77 1 4
delete_orphaned_meta()
S
79 1 3